package com.Homework2;

import java.util.HashMap;
import java.util.Set;

public class Test02 {
    public static void main(String[] args) {
        HashMap<Object, Object> map = new HashMap<>();
        map.put("柳岩",2100);
        map.put("张亮",1700);
        map.put("诸葛亮",1800);
        map.put("灭绝师太",2600);
        map.put("东方不败",3800);
        map.put("柳岩",2100+300);
        Set<Object> objects = map.keySet();
        for (Object object : objects) {
            System.out.println("工资为:"+map.get(object));
        }
    }
}
